;;; project.cg.fel --- Summary
;;; Commentary:
;;; configuration for software projects
;;; Code:

(require 'package.cfg)

(package-install-if-absent 'projectile)
(package-install-if-absent 'helm-projectile)

(use-package helm-projectile
  :config
  ;; So one can select a file in the project directly.
  (setq projectile-switch-project-action 'helm-projectile))

(use-package projectile
  :init
  (projectile-global-mode)
  (helm-projectile-on)
  :config
  (setq
   projectile-mode-line '(:eval (format " [%s]" (projectile-project-name)))
   ;; Disable remote files cache
   projectile-file-exists-remote-cache-expire nil))

(provide 'project.cfg)
;;; project.cfg.el ends here
